package com.ycher.hellokotlin.first

class StudentByInterface(name: String, age: Int) : Person1(name, age),
    Study {
    override fun readBooks() {
        println(name + " is reading.")
    }

    override fun doHomework() {
        println(name + " is doing homework")
    }
}